import java.io.File;
import java.io.IOException;

/**
 * Creater with IntelliJ IDEA.
 * Description:
 * User: 86152
 * Dae: 2022-08-02
 * Time: 21:09
 */
public class demo4 {
    public static void main(String[] args) throws IOException {
        File file = new File("hello_world");
        File file1 = new File("sb.txt");
        file.renameTo(file1);
    }
}
